package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class Address {
    private int id;
    @TableField("user_id")
    private int userid; //外键：关联用户user
    @TableField("addr_phone")
    private String phone;
    //地址的行政区：省、市、区
    @TableField("addr_province")
    private String province;
    @TableField("addr_city")
    private String city;
    @TableField("addr_district")
    private String district;
    //详细地址
    private String address;
    @TableField("addr_status")
    private String status;
    //收货人姓名（收货人不一定是用户本人）
    private String person;
    @TableField("provinceId")
    private int provinceId;
    @TableField("cityId")
    private int cityId;
    @TableField("districtId")
    private int districtId;
}
